package com.atom.annotation;

import com.atom.annotation.api.ApiImplProvider;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
public @interface ApiImpl {

    Class<?> api() default Object.class;

    Class<? extends ApiImplProvider> provider() default ApiImplProvider.class;

    String name() default "";

    int version() default 0;
}
